package com.lanou.cn.springboot.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication //启动类
//@EnableAutoConfiguration
//EnableTransactionManagement
//@MapperScan("com.lanou.cn.springboot.demo.mapper")//浏览所有包下接口作为Mapper接口绑定
public class DemoApplication {
	public static void main(String[] args) {
		SpringApplication.run(DemoApplication.class, args);
	}
}
//约定SpringBootApplication 所在包下 才能创建 controller 相当于  component-scan
//相当于扫描SpringBootApplication 所在包下的注解
//responseBody 响应字符串
/*
 * 如下约定
 * staitc: 静态资源
 * templates:视图后缀  相当于 SpringMVC  前缀视图
 * */
